package yueyong.salarymanagement.module.business.salary.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * Copyright: yueyong (c) 2022
 *
 * @author he.shaorong
 * @version 1.0
 * @date 2022/2/3
 */
@Data
public class UserCompanySettingDTO {
    @ApiModelProperty("公司名称")
    @NotNull(message = "公司名称不能为空")
    @Length(max = 255, message = "公司名称(1-255)个字符")
    private String companyName;

    @ApiModelProperty("公司地址")
    @Length(max = 255, message = "公司地址最多255个字符")
    private String companyAddress;

    @ApiModelProperty("公司税号")
    @Length(max = 50, message = "公司税号最多50个字符")
    private String taxNumber;
}
